import request from "@/utils/request";

// 查询门诊收费支付类型方式列表 (分页)
export function selectPageOutpFeesPaymentsMoney(query) {
    return request({
        url: "/business/outpFeesPaymentsMoney/selectPage",
        method: "get",
        params: query,
    });
}

// 查询门诊收费支付类型方式列表 (不分页)
export function listOutpFeesPaymentsMoney(query) {
    return request({
        url: "/business/outpFeesPaymentsMoney/list",
        method: "get",
        params: query,
    });
}

// 查询门诊收费支付类型方式详细
export function getOutpFeesPaymentsMoney(outpFeesPaymentsId) {
    return request({
        url: "/business/outpFeesPaymentsMoney/" + outpFeesPaymentsId,
        method: "get",
    });
}

// 新增门诊收费支付类型方式
export function addOutpFeesPaymentsMoney(data) {
    return request({
        url: "/business/outpFeesPaymentsMoney",
        method: "post",
        data: data,
    });
}

// 修改门诊收费支付类型方式
export function updateOutpFeesPaymentsMoney(data) {
    return request({
        url: "/business/outpFeesPaymentsMoney",
        method: "put",
        data: data,
    });
}

// 删除门诊收费支付类型方式
export function delOutpFeesPaymentsMoney(outpFeesPaymentsId) {
    return request({
        url: "/business/outpFeesPaymentsMoney/" + outpFeesPaymentsId,
        method: "delete",
    });
}
